# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *
from django.conf import settings

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^admin/', include(admin.site.urls)),
    ('static/(?P<path>.*)', 'django.views.static.serve', {
        'document_root':settings.MEDIA_ROOT,
        'show_indexes':True
    }),
    (r'^pms/', include('codeshare.pms.urls', namespace="pms", app_name="pms")),
    (r'^accounts/', include('codeshare.account.urls', namespace="account", app_name="account")),
    (r'^', include('codeshare.main.urls', namespace="main", app_name="main")),

)